package com.loadmore.common.activity

import android.os.Bundle
import com.alibaba.android.arouter.facade.annotation.Route
import com.loadmore.common.R
import com.loadmore.common.base.BaseActivity
import com.loadmore.common.router.RouterPath
import kotlinx.android.synthetic.main.activity_qrcode_result.*

/**
 * 二维码识别结果
 * @author sunleilei
 * @date 2018.7.13
 *
 */

@Route(path = RouterPath.QRCodeResult)
class QRCodeResultActivity : BaseActivity() {

    override fun onCreate(savedInstanceState: Bundle?) {
        super.onCreate(savedInstanceState)
        setContentView(R.layout.activity_qrcode_result)
        actionBarTitle("扫码结果")
        var resultStr = intent.getStringExtra("result")
        result.text = resultStr
    }
}
